package org.jeecg.modules.bobo.desform.service.impl;

import org.jeecg.modules.bobo.desform.entity.LbDesformData;
import org.jeecg.modules.bobo.desform.mapper.LbDesformDataMapper;
import org.jeecg.modules.bobo.desform.service.ILbDesformDataService;
import org.springframework.stereotype.Service;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @Description: 表单数据
 * @Author: jeecg-boot
 * @Date:   2021-04-09
 * @Version: V1.0
 */
@Service
public class LbDesformDataServiceImpl extends ServiceImpl<LbDesformDataMapper, LbDesformData> implements ILbDesformDataService {
	
	@Autowired
	private LbDesformDataMapper lbDesformDataMapper;
	
	@Override
	public List<LbDesformData> selectByMainId(String mainId) {
		return lbDesformDataMapper.selectByMainId(mainId);
	}

    @Override
    public int countByKeyAndDesformId(String key, String desformId, String value) {
        return lbDesformDataMapper.countByKeyAndDesformId(key,desformId,value);


    }
}
